SwedbankPay\Checkout\WooCommerce\WC_Swedbank_Plugin B

Total Complexity 84
Dependencies 6
Dependents 4
Total lines 721
Lines of code 453
Logical lines of code 214
Comment lines 170
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
billing_phone()
A
50 11 27
order_status_changed()
A
42 8 59
includes()
A
49 8 29
check_dependencies()
S
50 5 33
may_add_notice()
S
56 6 18
order_meta_box_payment_actions()
S
50 4 30
add_meta_boxes()
S
55 4 20
register_gateway()
S
57 4 19
ajax_swedbank_pay_capture()
S
56 4 18
ajax_swedbank_pay_cancel()
S
56 4 18
admin_enqueue_scripts()
S
57 4 15
add_action_buttons()
S
56 3 18
__construct()
S
50 2 27
add_valid_order_statuses()
S
62 2 13
upgrade_notice()
S
55 1 25
missing_woocommerce_notice()
S
56 1 23
wrong_decimals_notice()
S
57 1 21
admin_menu()
S
66 2 8
upgrade_page()
S
66 2 8
install()
S
71 2 6
woocommerce_hook_loaded()
S
79 1 3
generate_uuid()
S
77 1 3
payment_description()
S
81 1 3
woocommerce_init()
S
75 1 4
maybe_process_queue()
S
81 1 3
init()
S
91 1 2